<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆</title>
</head>
<body>
<h1>登陆</h1>
<div style="text-align: center">
    <form action="${pageContext.request.contextPath}/login" method="post">
        用户名：<input type="text" name="username"><br>
        密码：&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="password"><br>
        爱好：&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="checkbox" name="hobby" value="妹纸">妹纸
        <input type="checkbox" name="hobby" value="代码">代码
        <input type="checkbox" name="hobby" value="电脑">电脑
        <input type="checkbox" name="hobby" value="手机">手机
        <br>
        <input type="submit">
    </form>
</div>

</body>
</html>
